package io.geekidea.boot.materialrule.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class updateMaterialRule {


    @TableField("id")
    private Integer id;
    @TableField("rulesName")
    @NotBlank(message = "规则名称不能为空")
    private String rulesName;
    @TableField("minTime")
    @NotBlank(message = "最小天数不能为空")
    private Integer minTime;
    @TableField("maxTime")
    @NotBlank(message = "最大天数不能为空")
    private Integer maxTime;

}
